import java.util.*;

public class Commodity extends Product {
    String Brand;
    String Color;
    String Situation;//使用场所，厨房&浴室 etc.

    Commodity(String Name, Integer Quantity, Double Price, String Comment, String Status, String Category, String Brand, String Color, String Situation) {
        super(Name, Quantity, Price, Comment, Status, Category);
        this.Brand = Brand;
        this.Color = Color;
        this.Situation = Situation;

    }

    public String getBrand() {
        return Brand;
    }

    public String getColor() {
        return Color;
    }

    public String getSituation() {
        return Situation;
    }

    @Override
    public String toString() {
        return "Commodity{" +
                "Brand='" + Brand + '\'' +
                ", Color='" + Color + '\'' +
                ", Situation='" + Situation + '\'' +
                ", Name='" + Name + '\'' +
                ", Quantity=" + Quantity +
                ", Price=" + Price +
                ", Comment='" + Comment + '\'' +
                ", Status='" + Status + '\'' +
                ", Category='" + Category + '\'' +
                '}';
    }
}